package com.gimi.cloud.jimi.common.mq.enume;

/**
 * 消息队列
 *
 * @author wbj
 * @version 1.0
 * @Description
 * @create 2017-12-28
 **/
public enum QueueEnum {
    OPERATION_LOG(QueueConstant.OPERATIONLOG_QUEUE_NAME,QueueConstant.OPERATIONLOG_ROUTING_KEY,QueueConstant.OPERATION_EXCHANGE_NAME,"操作日志记录队列"),
    FENGCHAO_SHEBAO_REPORT(QueueConstant.FCSB_QUEUE_NAME, QueueConstant.FCSB_ROUTING_KEY,QueueConstant.FCSB_EXCHANGE_NAME,"蜂巢公积金消息队列相关"),
    FENGCHAO_XINYONGKAYOUXIANGZHANGDAN_REPORT(QueueConstant.FCXYKYXZD_QUEUE_NAME,QueueConstant.FCXYKYXZD_ROUTING_KEY, QueueConstant.FCXYKYXZD_EXCHANGE_NAME ,"蜂巢信用卡邮箱账单消息队列相关"),
    FENGCHAO_XINYONGKALIUSHUI_REPORT(QueueConstant.FCXYKLS_QUEUE_NAME,QueueConstant.FCXYKLS_ROUTING_KEY, QueueConstant.FCXYKLS_EXCHANGE_NAME ,"蜂巢信用卡流水消息队列相关"),
    FENGCHAO_GONGJIJING_REPORT(QueueConstant.FGR_QUEUE_NAME,QueueConstant.FGR_ROUTING_KEY ,QueueConstant.FGR_EXCHANGE_NAME ,"蜂巢公积金消息队列相关"),

    FENGCHAO_DEBITCARD_REPORT(QueueConstant.FCGZK_QUEUE_NAME,QueueConstant.FCGZK_ROUTING_KEY, QueueConstant.FCGZK_EXCHANGE_NAME ,"蜂巢工资卡消息队列相关");
    /**
     * 队列名称
     */
    private String queueName;
    /**
     * 消息路径
     */
    private String routingKey;
    /**
     * 交换路径
     */
    private String exchange;
    /**
     * 描述
     */
    private String desc;

    /**
     *
     * @param queueName 队列名称
     * @param routingKey
     * @param exchange
     * @param desc
     */
    QueueEnum(String queueName, String routingKey, String exchange, String desc) {
        this.queueName = queueName;
        this.routingKey = routingKey;
        this.exchange = exchange;
        this.desc = desc;
    }

    /**
     * 队列名称
     * @return
     */
    public String getQueueName() {
        return queueName;
    }

    /**
     * 消息路径
     * @return
     */
    public String getRoutingKey() {
        return routingKey;
    }

    /**
     * 交换路径
     * @return
     */
    public String getExchange() {
        return exchange;
    }

    /**
     * 描述
     * @return
     */
    public String getDesc() {
        return desc;
    }
}
